﻿@model IEnumerable<_PLATFORM.DATA.SELECTION_OPTION>

@{
    ViewBag.Title = "IndexList";
}

<h2>IndexList</h2>

<p>
    @Html.ActionLink("Create New", "Create")|
    @Html.ActionLink("Manage", "Index")
</p>
<table>
    <tr>
        <th>
            SELECTION_OPTION_ID
        </th>
        <th>
            NAME
        </th>
        <th>
            IMAGE
        </th>
        <th>
            GROUP_ID
        </th>
        <th>
            USER_ID
        </th>
        <th></th>
    </tr>

@foreach (var item in Model)
{
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.SELECTION_OPTION_ID)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.NAME)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.IMAGE)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.GROUP_ID)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.USER_ID)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id = item.SELECTION_OPTION_ID }) |
            @Html.ActionLink("Details", "Details", new { id = item.SELECTION_OPTION_ID }) |
            @Html.ActionLink("Delete", "Delete", new { id = item.SELECTION_OPTION_ID })
        </td>
    </tr>
}

</table>
